<?php

declare (strict_types=1);
namespace App\Model;

use Hyperf\DbConnection\Model\Model;
/**
 * @property int $id 
 * @property string $bookname 通讯录名称
 * @property string $mobile 手机号码
 * @property int $status 初始状态0；1已发送，2已执行, 3已过期
 * @property int $task_id 所属任务id
 * @property \Carbon\Carbon $created_at 添加日期
 * @property \Carbon\Carbon $updated_at 更新日期
 * @property string $numberStr 任务批次号
 * @property int $package_id 数据包id
 * @property int $send_time 发送时间
 * @property int $mobile_pool_id 号码池mobile_pool表id
 * @property string $userId 用户编号
 * @property int $callback 添加好友执行结果 0初始 1用户不存在 2已经是好友 3已发送 4己方账号异常
 * @property int $account_id 服务账号id
 */
class TaskMobile extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'task_mobile';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['id', 'bookname', 'mobile', 'status', 'task_id', 'created_at', 'updated_at', 'numberStr', 'package_id', 'send_time', 'mobile_pool_id', 'userId', 'callback', 'account_id'];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'status' => 'integer', 'task_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'package_id' => 'integer', 'send_time' => 'integer', 'mobile_pool_id' => 'integer', 'callback' => 'integer', 'account_id' => 'integer'];
}